﻿package Message.Public
{
    import Framework.MQ.*;
    import Framework.Serialize.*;

    public class SGroupCopyInvite extends IMessageBase
    {
        public var groupOper:SGroupOper;
        public var killNum:int;
        public const _type:int = 4007;
        public static var _regist:SGroupCopyInvite = new SGroupCopyInvite(true);

        public function SGroupCopyInvite(param1:Boolean = false)
        {
            if (param1)
            {
                MessageManager.instance().regist(this);
            }
            return;
        }// end function

        override public function getType() : int
        {
            return this._type;
        }// end function

        override public function clone() : IMessageBase
        {
            return new SGroupCopyInvite();
        }// end function

        override public function __write(param1:SerializeStream) : void
        {
            this.groupOper.__write(param1);
            param1.writeInt(this.killNum);
            return;
        }// end function

        override public function __read(param1:SerializeStream) : void
        {
            this.groupOper = new SGroupOper();
            this.groupOper.__read(param1);
            this.killNum = param1.readInt();
            return;
        }// end function

    }
}
